package com.axter.app.process;

import android.content.Intent;
import android.os.RemoteException;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import xiaofei.library.hermeseventbus.HermesEventBus;

public class B extends A {
    @Override
    public void onClick(View var1) {
        switch (var1.getId()) {
            case R.id.go:
                startActivity(new Intent(this, A.class));
                break;
            case R.id.get:
            try {
                if(myService != null) {
                    myService.setValue("jiiosjdiofjsiodf");
                }
            } catch (RemoteException e) {
                e.printStackTrace();
            }
                HermesEventBus.getDefault().post(new DD("123123123"));
                break;
        }
    }
}
